body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
    font-family: 'Arial', sans-serif;
}

.stopwatch {
    text-align: center;
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 400px;
}

#display {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    font-family: 'Courier New', Courier, monospace;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.buttons button {
    font-size: 1.2rem;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    color: white;
}

#startBtn { background-color: #28a745; }
#stopBtn { background-color: #dc3545; }
#resetBtn { background-color: #007bff; }

.buttons button:hover {
    opacity: 0.9;
}
